export const userRouter = [{
    path: '/mine',
    name: 'Mine',
    component: resolve => require(['@/views/mine/index'], resolve)
  },
  {
    path: '/setting/:phone',
    name: 'Setting',
    component: resolve => require(['@/views/setPassword/index'], resolve),
    meta: {
      title: '设置密码',
      tabBar: false
    },
  },
  {
    path: '/feed',
    name: 'Feed',
    component: resolve => require(['@/views/feedback/index'], resolve),
    meta: {
      title: '意见反馈',
      tabBar: false
    },
  },
  {
    path: '/wallet',
    name: 'Wallet',
    component: resolve => require(['@/views/wallet/index'], resolve),
    meta: {
      title: '我的钱包',
      tabBar: false
    },
  },
  {
    path: '/walletDetail/:type',
    name: 'walletDetail',
    component: resolve => require(['@/views/wallet/detail'], resolve),
    meta: {
      title: '详情',
      tabBar: false
    },
  },
  {
    path: '/transfer/:coinType',
    name: 'transfer',
    component: resolve => require(['@/views/wallet/transfer'], resolve),
    meta: {
      title: '详情',
      tabBar: false
    },
  },
  {
    path: '/order',
    name: 'Order',
    component: resolve => require(['@/views/order/index'], resolve),
    meta: {
      title: '我的订单',
      tabBar: false,
	    keepAlive: true
    },
  },
  {
    path: '/about',
    name: 'About',
    component: resolve => require(['@/views/about/index'], resolve),
    meta: {
      title: '关于我们',
      tabBar: false,
	    keepAlive: true
    },
  },
  {
    path: '/stream',
    name: 'Stream',
    component: resolve => require(['@/views/wallet/stream'], resolve),
    meta: {
      title: '流水',
      tabBar: false
    },
  },
  {
    path: '/account',
    name: 'Account',
    component: resolve => require(['@/views/mine/account'], resolve),
    meta: {
      title: '流水',
      tabBar: false
    },
  },
  {
    path: '/login/:type',
    name: 'Login',
    component: resolve => require(['@/views/login/index'], resolve),
    meta: {
      title: '登录',
      tabBar: false
    }
  },
  {
    path: '/register',
    name: 'Register',
    component: resolve => require(['@/views/register/index'], resolve),
    meta: {
      title: '注册',
      tabBar: false
    }
  },
  {
    path: '/find',
    name: 'Find',
    component: resolve => require(['@/views/findPassword/index'], resolve),
    meta: {
      title: '找回密码',
      tabBar: false
    }
  },
  {
    path: '/changeName',
    name: 'changeName',
    component: resolve => require(['@/views/mine/changeName'], resolve),
    meta: {
      title: '修改昵称',
      tabBar: false
    }
  },
  {
    path: '/checkInfor',
    name: 'checkInfor',
    component: resolve => require(['@/views/mine/checkInfor'], resolve),
    meta: {
      title: '基础验证',
      tabBar: false
    }
  },
  {
    path: '/safe',
    name: 'Safe',
    component: resolve => require(['@/views/mine/safe'], resolve),
    meta: {
      title: '账户与安全',
      tabBar: false
    }
  },
  {
    path: '/reset',
    name: 'Reset',
    component: resolve => require(['@/views/mine/reset'], resolve),
    meta: {
      title: '重置登录密码',
      tabBar: false
    }
  },
  {
    path: '/about',
    component: resolve => require(['@/views/about/index'], resolve),
    meta: {
      title: '关于我们'
    }
  },
  {
    path: '/share',
    component: resolve => require(['@/views/share/index'], resolve),
    meta: {
      title: '分享',
      tabBar: false
    }
  }
]
